# !usr/bin/env python
# -*- coding:utf-8 _*-
"""
@Author:张广勤
@Web site: https://www.tunan.wang
@Github:www.github.com
 
@File:Yi6_0.py
@Time:2024/8/7 16:59

@Motto:不积跬步无以至千里，不积小流无以成江海！
"""

def print_hexagram(hexagram):
    for line in hexagram:
        if line == 1:
            print("--", end="")
        elif line == 0:
            print("—", end="")
    print()

hexagram = [
    [1, 1, 1, 1, 1, 1],
    [0, 0, 0, 0, 0, 0],
    [1, 1, 1, 1, 1, 1],
    [0, 0, 0, 0, 0, 0],
    [1, 1, 1, 1, 1, 1],
    [0, 0, 0, 0, 0, 0]
]

print_hexagram(hexagram)
